package tn.talan.itext;
import java.io.*;
import com.lowagie.text.*;
import com.lowagie.text.pdf.*;

public class imagesPDF
{ 
public static void main(String arg[])throws Exception
{ 
  Document document=new Document();
  PdfWriter.getInstance(document,new FileOutputStream("imagesPDF.pdf"));
  document.open();
  Image image = Image.getInstance ("images/talan.png");
  document.add(new Paragraph("Roseindia"));
  document.add(image); 
  document.close();
}
}